import { elementDefine } from "./element_define"

export const attrDefine = {
  element: {
    key: 'element',
    text: '元素'
  },
  age: {
    key: 'age',
    text: '年龄'
  },
  ageMax: {
    key: 'ageMax',
    text: '年龄上限'
  },
  cons: {
    key: 'cons',
    text: '神识'
  },
  agile: {
    key: 'agile',
    text: '敏捷'
  },
  dodge: {
    key: 'dodge',
    text: '闪避'
  },
  crit: {
    key: 'crit',
    text: '暴击'
  },
  critDamage: {
    key: 'critDamage',
    text: '暴击伤害'
  },
  spirit: {
    key: 'spirit',
    text: '灵力'
  },
  blood: {
    key: 'blood',
    text: '气血'
  },
  bloodDef: {
    key: 'bloodDef',
    text: '物理防御'
  },
  spiritDef: {
    key: 'spiritDef',
    text: '灵力防御'
  },
  consDef: {
    key: 'consDef',
    text: '神识防御'
  },
  lucky: {
    key: 'lucky',
    text: '幸运'
  },
  bloodAtk: {
    key: 'bloodAtk',
    text: '气血攻击'
  },
  spiritAtk: {
    key: 'spiritAtk',
    text: '灵力攻击'
  },
  consAtk: {
    key: 'consAtk',
    text: '神识攻击'
  },
  atkSpeed: {
    key: 'atkSpeed',
    text: '攻击速度'
  },
  action: {
    key: 'action',
    text: '行动力'
  },
  mana: {
    key: 'mana',
    text: '法力'
  },
  manaMax: {
    key: 'manaMax',
    text: '法力上限'
  },
  hp: {
    key: 'hp',
    text: '生命',
  },
  hpMax: {
    key: 'hpMax',
    text: '生命上限',
  },
  weight: {
    key: 'weight',
    text: '重量'
  },
  inventoryWeight: {
    key: 'inventoryWeight',
    text: '储物空间'
  },
  durable: {
    key: 'durable',
    text: '耐久'
  },
  [[elementDefine.earth.key] + 'Atk']: {
    key: elementDefine.earth.key + 'Atk',
    text: '土系攻击'
  },
  [[elementDefine.fire.key] + 'Atk']: {
    key: elementDefine.fire.key + 'Atk',
    text: '火系攻击'
  },
  [[elementDefine.gold.key] + 'Atk']: {
    key: elementDefine.gold.key + 'Atk',
    text: '金系攻击'
  },
  [[elementDefine.water.key] + 'Atk']: {
    key: elementDefine.water.key + 'Atk',
    text: '水系攻击'
  },
  [[elementDefine.wood.key] + 'Atk']: {
    key: elementDefine.wood.key + 'Atk',
    text: '木系攻击'
  },
  [[elementDefine.earth.key] + 'Def']: {
    key: elementDefine.earth.key + 'Def',
    text: '土系防御'
  },
  [[elementDefine.fire.key] + 'Def']: {
    key: elementDefine.fire.key + 'Def',
    text: '火系防御'
  },
  [[elementDefine.gold.key] + 'Def']: {
    key: elementDefine.gold.key + 'Def',
    text: '金系防御'
  },
  [[elementDefine.water.key] + 'Def']: {
    key: elementDefine.water.key + 'Def',
    text: '水系防御'
  },
  [[elementDefine.wood.key] + 'Def']: {
    key: elementDefine.wood.key + 'Def',
    text: '木系防御'
  },
}